home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / lineno / editdemo.txt < prev    next >
Text File  |  1992-11-10  |  368b  |  14 lines

  1. EditDemo
  2.  
  3. By George Campbell
  4.  
  5. This demo program shows how to get the current cursor position and line number from an edit control. In VB 1.0, this was impossible without doing a serious kludge by using a timer to press a key.
  6.  
  7. In 2.0 it's easier, and here's how to do it.
  8.  
  9. This info is in the public domain.
  10.  
  11. George Campbell
  12. President
  13. OsoSoft
  14. 71571,222